<?php include_component('tree'
                    , 'path'
                    , array('path' => 'Registration confirmation')); ?>
<br/>
<div class="text">
<?php if ($sf_request->hasErrors()): ?>
<h2><?php echo __('Sorry. Some errors occurred.') ?></h2><br/>

    <?php foreach ($sf_request->getErrorNames() as $name): ?>
        <?php echo __($sf_request->getError($name)); ?><br/>
    <?php endforeach; ?>
<?php elseif ($sf_flash->has('notice')): ?>
<h2><?php echo __($sf_flash->get('notice')) ?></h2>
<?php echo __('Now you can')?> <b><?php echo link_to(__('login'), 'user/login') ?>.</b>
<?php endif; ?>
<br /><br /><br />
</div>
<div class="dashed_line">
</div>
<br/>